package com.itchu.system.service;

import com.itchu.common.domain.PageResult;
import com.itchu.system.domain.SysRole;

import java.util.List;

public interface SysRoleService {

    PageResult<SysRole> findByPage(String key, Integer page, Integer rows, String sortBy, Boolean desc);

    void addSysRole(SysRole sysRole);

    void deletSysRole(Long id);

    void updateSysRole(SysRole sysRole);

    SysRole findById(Long id);

    List<SysRole> AllSysRole();

    void updateRoleAuthorities(Long rid, List<Long> ids);
}
